Skip to content

Conversation

meniluca
Copy link

Description

As described here #273, s3Import is not accepted any more. I have tested with an empty string and it works.

As described here terraform-aws-modules#273, s3Import is not accepted any more. I have tested with an empty string and it works.
s3_import = {
role_arn = aws_iam_role.s3_import.arn
feature_name = "s3Import"
feature_name = ""
Copy link
Member

@bryantbiggs bryantbiggs May 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so this looks like another silent AWS change unfortunately

making this change here is not correct. after spending some time digging into this, here is what I found:

  1. The API has changed from requiring a value to now not requiring a value - this should be corrected/relaxed in the AWS provider first. Once that is corrected, we can update this so that users do not need to pass empty strings (thats just weird).
  2. There doesn't appear to be ANY feature names supported for MySQL anymore:
  • aws rds describe-db-engine-versions --engine mysql --engine-version 5.7 --query 'DBEngineVersions[*].SupportedFeatureNames'

    returns

    [
      [],
      [],
      [],
      [],
      [],
      []
    ]
    
  • aws rds describe-db-engine-versions --engine mysql --engine-version 8.0 --query 'DBEngineVersions[*].SupportedFeatureNames'

    returns

    [
      [],
      [],
      [],
      [],
      [],
      [],
      [],
      [],
      [],
      []
    ]
    
  1. After looking at https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Integrating.LoadFromS3.html, it appears that this example is no longer valid, or perhaps, not the recommend route for importing. Looking at the docs today, it looks like users should execute the import via SQL instead of via the AWS RDS API - is that correct?

@meniluca
Copy link
Author

I have removed that code block entirely because I had timeout issues with the role being assigned to the RDS instance. It went through, but I want to give another test to see whether everything is in order or not. In the meantime let me know if this looks like a better fix in your opinion.

Copy link

This PR has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this PR will be closed in 10 days

@github-actions github-actions bot added the stale label Jun 14, 2025
Copy link

This PR was automatically closed because of stale in 10 days

@github-actions github-actions bot closed this Jun 24, 2025
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants